<?php

/**
 * @filename CommonAction.class.php 
 * @encoding UTF-8 
 * @author yuzhiyuan <307090870@qq.com>
 * @copyright copyright 2013 (c) Emagsoftware Technology Co., Ltd. All Rights reserved.
 * @license ……
 * @datetime 2013-6-22  13:52:33
 * @version 1.0
 * @Description
  */
class BaseAction extends Action {
    public function _initialize(){
        if('' == session('uid')){
            $this->redirect(GROUP_NAME . '/Passport/login');
        }
    }
    	
	public function index(){
		redirect(__GROUP__ . '/Passport/login');
	}
}